package com.sjc.springbootdemo.exception;

/**
 * @Classname AppException
 * @Description
 * @Date 2020/4/23 18:22
 * @Created by SangJiacun
 */
public class AppException extends Exception {

    String date;

    public AppException(String message) {
        super(message);
    }

    public AppException(String message, String date) {
        super(message);
        this.setDate(date);
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
